package com.example.dayu521.sg_oss.service;

import com.example.dayu521.sg_oss.domain.NumSplit;
import lombok.Data;

public interface OrderNumService {


    interface NumState{
        boolean is_expire();
        boolean valid(long res);
        long getRes();
        long get_next_num();
    }

    /**
     *
     * @return 可为null
     */
    NumState get_num_state();


}
